package com.feizi.entity;

import java.util.List;

public class OrderinfoEntity {
	private String orderid;//订单号
	private int f_uid;//用户id外键
	private int status;//状态：0代表待付款，1代表待发货，2代表待收货，3代表待评价，4代表完成（已评价）
	private double totalprices;//总价
	private String name;//收货人名称
	private String phone;//收货人手机号
	private String province;//收货人省
	private String city;//收货人市
	private String area;//收货人区
	private String addressinfo;//详细的地址信息
	private String mark;//订单的备注
	private double logisticsMoney;//订单的物流运费
	private String logisticsName;//订单的物流名称
	private String logisticsMessage;//订单的物流信息
	private String createtime;//创建时间
	private String paymentTime;//付款时间
	private String deliveryTime;//发货时间
	private String finishTimeTime;//成交时间/完成时间/结束时间/确认收货时间
	private String username;//用户姓名
	private List<OrderdetailEntity> orderdetail;
	public List<OrderdetailEntity> getOrderdetail() {
		return orderdetail;
	}
	public void setOrderdetail(List<OrderdetailEntity> orderdetail) {
		this.orderdetail = orderdetail;
	}
	public String getOrderid() {
		return orderid;
	}
	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}
	public int getF_uid() {
		return f_uid;
	}
	public void setF_uid(int f_uid) {
		this.f_uid = f_uid;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public double getTotalprices() {
		return totalprices;
	}
	public void setTotalprices(double totalprices) {
		this.totalprices = totalprices;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getAddressinfo() {
		return addressinfo;
	}
	public void setAddressinfo(String addressinfo) {
		this.addressinfo = addressinfo;
	}
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}
	public double getLogisticsMoney() {
		return logisticsMoney;
	}
	public void setLogisticsMoney(double logisticsMoney) {
		this.logisticsMoney = logisticsMoney;
	}
	public String getLogisticsName() {
		return logisticsName;
	}
	public void setLogisticsName(String logisticsName) {
		this.logisticsName = logisticsName;
	}
	public String getLogisticsMessage() {
		return logisticsMessage;
	}
	public void setLogisticsMessage(String logisticsMessage) {
		this.logisticsMessage = logisticsMessage;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public String getPaymentTime() {
		return paymentTime;
	}
	public void setPaymentTime(String paymentTime) {
		this.paymentTime = paymentTime;
	}
	public String getDeliveryTime() {
		return deliveryTime;
	}
	public void setDeliveryTime(String deliveryTime) {
		this.deliveryTime = deliveryTime;
	}
	public String getFinishTimeTime() {
		return finishTimeTime;
	}
	public void setFinishTimeTime(String finishTimeTime) {
		this.finishTimeTime = finishTimeTime;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public OrderinfoEntity(String orderid, int f_uid, int status, double totalprices, String name, String phone,
			String province, String city, String area, String addressinfo, String mark, double logisticsMoney,
			String logisticsName, String logisticsMessage, String createtime, String paymentTime, String deliveryTime,
			String finishTimeTime, String username, List<OrderdetailEntity> orderdetail) {
		super();
		this.orderid = orderid;
		this.f_uid = f_uid;
		this.status = status;
		this.totalprices = totalprices;
		this.name = name;
		this.phone = phone;
		this.province = province;
		this.city = city;
		this.area = area;
		this.addressinfo = addressinfo;
		this.mark = mark;
		this.logisticsMoney = logisticsMoney;
		this.logisticsName = logisticsName;
		this.logisticsMessage = logisticsMessage;
		this.createtime = createtime;
		this.paymentTime = paymentTime;
		this.deliveryTime = deliveryTime;
		this.finishTimeTime = finishTimeTime;
		this.username = username;
		this.orderdetail = orderdetail;
	}
	public OrderinfoEntity(String orderid, int f_uid, int status, double totalprices, String name, String phone,
			String province, String city, String area, String addressinfo, String mark, double logisticsMoney,
			String logisticsName, String logisticsMessage, String createtime, String paymentTime, String deliveryTime,
			String finishTimeTime, String username) {
		super();
		this.orderid = orderid;
		this.f_uid = f_uid;
		this.status = status;
		this.totalprices = totalprices;
		this.name = name;
		this.phone = phone;
		this.province = province;
		this.city = city;
		this.area = area;
		this.addressinfo = addressinfo;
		this.mark = mark;
		this.logisticsMoney = logisticsMoney;
		this.logisticsName = logisticsName;
		this.logisticsMessage = logisticsMessage;
		this.createtime = createtime;
		this.paymentTime = paymentTime;
		this.deliveryTime = deliveryTime;
		this.finishTimeTime = finishTimeTime;
		this.username = username;
	}
	public OrderinfoEntity(String orderid, int f_uid, int status, double totalprices, String name, String phone,
			String province, String city, String area, String addressinfo, String mark, double logisticsMoney,
			String logisticsName, String logisticsMessage, String createtime, String paymentTime, String deliveryTime,
			String finishTimeTime) {
		super();
		this.orderid = orderid;
		this.f_uid = f_uid;
		this.status = status;
		this.totalprices = totalprices;
		this.name = name;
		this.phone = phone;
		this.province = province;
		this.city = city;
		this.area = area;
		this.addressinfo = addressinfo;
		this.mark = mark;
		this.logisticsMoney = logisticsMoney;
		this.logisticsName = logisticsName;
		this.logisticsMessage = logisticsMessage;
		this.createtime = createtime;
		this.paymentTime = paymentTime;
		this.deliveryTime = deliveryTime;
		this.finishTimeTime = finishTimeTime;
	}
	public OrderinfoEntity() {
		super();
	}
	@Override
	public String toString() {
		return "OrderinfoEntity [orderid=" + orderid + ", f_uid=" + f_uid + ", status=" + status + ", totalprices="
				+ totalprices + ", name=" + name + ", phone=" + phone + ", province=" + province + ", city=" + city
				+ ", area=" + area + ", addressinfo=" + addressinfo + ", mark=" + mark + ", logisticsMoney="
				+ logisticsMoney + ", logisticsName=" + logisticsName + ", logisticsMessage=" + logisticsMessage
				+ ", createtime=" + createtime + ", paymentTime=" + paymentTime + ", deliveryTime=" + deliveryTime
				+ ", finishTimeTime=" + finishTimeTime + ", username=" + username + ", orderdetail=" + orderdetail
				+ "]";
	}
	
}
